package com.rjgc.title.model.entity.student;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.rjgc.title.model.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * 工作经历
 * @program: title-parent
 * @author: Mr.Zhuo
 * @create: 2022-04-25 22:40
 **/
@Data
@ApiModel(description = "WorkExperience")
@TableName("work_experience")
public class WorkExperience extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "用户id")
    @TableField("user_id")
    private Long userId;

    @ApiModelProperty(value = "开始时间：*")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @TableField("begin_time")
    private Date beginTime;

    @ApiModelProperty(value = "结束时间：*")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @TableField("end_time")
    private Date endTime;


    @ApiModelProperty(value = "工作单位")
    @TableField("work_unit")
    private String workUnit;

    @ApiModelProperty(value = "担任行政职务")
    @TableField("administrative_position")
    private String administrativePosition;

    @ApiModelProperty(value = "从事专业")
    @TableField("professional")
    private String professional;

    @ApiModelProperty(value = "职称")
    @TableField("title")
    private String title;

    @ApiModelProperty(value = "备注")
    @TableField("remarks")
    private String remarks;

    @ApiModelProperty(value = "上传文件（可预览）")
    @TableField("upload_file")
    private String uploadFile;

}
